home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / VGADOC4B.ZIP / ARK.TXT < prev    next >
Text File  |  1995-09-29  |  9KB  |  302 lines

  1. ARK Logic
  2.  
  3. ARK1000VL  160pin  original version. No PCI support ?
  4. ARK1000PV          PCI bus version of 1000VL
  5. ARK2000PV  208pin  64bit memory interface. 16bit path to DAC
  6.  
  7. 3C4h index 10h (R/W):
  8. bit 0-1  Should be set to 3 to access all of video memory
  9.     2-3  Set to 3 to enable memory mapped engine regs at A800h, 0 to disable
  10.       4  Set to enable the Linear frame buffer
  11.       5  ?
  12.       6  (1000) Video Memory Size. 0: 1MB, 1: 2MB
  13.     6-7  (2000) Video Memory Size. 0: 1MB, 1: 2MB, 2: 4MB, 3: 8MB
  14.  
  15. 3C4h index 11h (R/W):  Video Clock Select
  16. bit 0-1  Giant Shift Register Mode.
  17.       0  ??
  18.       1  If set pixels are doubled horizontally
  19.     2-3  Accelerator pixel size. 1: 8bit, 2: 15/16bit, 3: (2000) 32bit
  20.       4  Causes lockup ??
  21.       5 ??
  22.     6-7  Clock Select bit 2-3. Bits 0-1 are in 3C2h/3CCh bits 2-3.
  23.  
  24. 3C4h index 12h (R/W):
  25. bit 0-1  Size of the linear frame buffer. 0: 64Kb, 1: 1Mb, 2: 2Mb, 3: 4Mb
  26.       2  Set in high res text modes, clear in all other modes
  27.     3-7  ??
  28.  
  29. 3C4h index 13h W(R/W):
  30. bit 0-15  Linear Address of Aperture bits 16-31.
  31.  
  32. 3C4h index 15h (R/W):
  33. bit 0-4  Write Bank in 64K units
  34.  
  35. 3C4h index 16h (R/W):
  36. bit 0-4  Read Bank in 64K units
  37.  
  38. 3C4h index 17h (R/W):
  39. bit 0-2  Pixels per scanline ?. 0: 640, 1: 800, 2: 1024, 4: 1280
  40.  
  41. 3C4h index 18h (R/W):
  42. bit 0-2  (1000) Display FIFO threshold level (0-7).
  43.          (2000) Display FIFO threshold level bits 1-3. The display FIFO is
  44.            32 levels deep on the 2000PV. Bits 0 & 4 of the threshold are in
  45.            bits 5&7 of this register.
  46.       3  If set enables the full 8 level display FIFO
  47.       5  (2000) Display FIFO threshold level bit 4.
  48.       7  (2000) Display FIFO threshold level bit 0.
  49.  
  50. 3C4h index 19h (R/W):
  51. bit 0-7  ??
  52.       7  Set for VESA bus, clear for PCI bus.
  53.  
  54. 3C4h index 1Ah (R/W):
  55. bit 0-7 Scratch ??
  56.  
  57. 3C4h index 1Bh (R/W):
  58. bit 0-7 Scratch ??
  59.  
  60. 3C4h index 1Ch (R/W):
  61. bit 0-1  Clock ??
  62.       2  Blanks display if set ?
  63.     3-4  Pixel type: 0: 16c planar (or text), 1: 8bpp, 2: 15/16bpp, 3: 24bpp
  64.     5-7 ??
  65.  
  66. 3C4h index 1Dh (R/W):
  67. bit   0  Set to enable access to extended registers.
  68.  
  69. 3C4h index 1Eh (R/W):
  70. bit 0-7 Scratch ??
  71.  
  72. 3C4h index 1Fh (R/W):
  73. bit 0-7 Scratch ??
  74.  
  75.  
  76. 3C4h index 20h (R/W):
  77. bit   0  If set horizontally enlarges the cursor by a factor of 2 (15/16bpp).
  78.       1  If set horizontally enlarges the cursor by a factor of 3 (24/32bpp).
  79.       2  Set for 64x64 cursor, clear for 32x32 cursor.
  80.       3  Enable the hardware cursor if set
  81.       4  Selects Windows style cursor if clear, X11 style if set ?
  82.  
  83. 3C4h index 21h (R/W):
  84. bit 0-3  Cursor X position bits 8-11, lower 8 bits are in index 22h
  85.  
  86. 3C4h index 22h (R/W):
  87. bit 0-7  Cursor X position bits 0-7, upper 4 bits are in index 21h
  88.  
  89. 3C4h index 23h (R/W):
  90. bit 0-3  Cursor Y position bits 8-11, lower 8 bits are in index 24h
  91.  
  92. 3C4h index 24h (R/W):
  93. bit 0-7  Cursor Y position bits 0-7, upper 4 bits are in index 23h
  94.  
  95. 3C4h index 25h (R/W):
  96. bit 0-5  Selects the location of the hardware cursor map in video memory.
  97.           63 = last 256 bytes of 2Mb video memory
  98.          The cursor definition map is a 32x32 or 64x64 bitmaps stored as a
  99.          a sequence of 16bit words, each word defines 8 pixels. Bits 0 & 8
  100.          defines the leftmost pixel, bits 7 & 15 the rightmost.
  101.          Low bit:    High bit:     Result (Windows):
  102.             0            0         Cursor Color 1
  103.             1            0         Screen data
  104.             0            1         Cursor Color 0
  105.             1            1         Inverse screen (XOR cursor)
  106.  
  107. 3C4h index 26h (R/W):  "Cursor Color 0 low"
  108. bit 0-7  Cursor Color 0. Palette index in palette modes, in direct color modes
  109.          the low byte of the 2 or 3 bytes pixel.
  110.  
  111. 3C4h index 27h (R/W):  "Cursor Color 0 middle"
  112. bit 0-7  The 2nd byte of the 2 or 3 bytes Color 0 pixel
  113.  
  114. 3C4h index 28h (R/W):  "Cursor Color 0 high"
  115. bit 0-7  The high byte of the 3 bytes Color 0 pixel in 24bit modes
  116.  
  117. 3C4h index 29h (R/W):  "Cursor Color 1 low"
  118. bit 0-7  Cursor color 1. Palette index in palette modes, in direct color modes
  119.          the low byte of the 2 or 3 bytes pixel.
  120.  
  121. 3C4h index 2Ah (R/W):  "Cursor Color 1 middle"
  122. bit 0-7  The 2nd byte of the 2 or 3 bytes Color 1 pixel
  123.  
  124. 3C4h index 2Bh (R/W):  "Cursor Color 1 high"
  125. bit 0-7  The high byte of the 3 bytes Color 1 pixel in 24bit modes
  126.  
  127. 3C4h index 2Ch (R/W):
  128. bit 0-5  Cursor X Hotspot.
  129.  
  130. 3C4h index 2Dh (R/W):
  131. bit 0-5  Cursor Y Hotspot.
  132.  
  133. 3CBh (R):
  134. bit  0-3  Number of FIFO slots free ??
  135.        6  Set when engine busy ??
  136.  
  137. 3d4h index 29h (R/W):
  138. bit 0-2  ??
  139.  
  140. 3d4h index 30h
  141. bit   0  If set ??
  142.     1-2
  143.  
  144. 3d4h index 31h (R/W):
  145. bit   0  Causes wraps if set ?
  146.       1  ??
  147.       2  If set doubles each scan line vertically
  148.     3-4  ??
  149.       5  If set causes a one pixel shift to the right.
  150.  
  151. 3d4h index 40h (R/W):  Extended Horizontal CRTC Timings
  152. bit 0-2  Display Start Address bit 16-18. Bits 0-15 are in 3d4h index 0Ch,0Dh
  153.       3  ?
  154.       4  Vertical Retrace Start bit 10. Bits 0-7 are in 3d4h index 10h.
  155.       5  Vertical Blank Start bit 10. Bits 0-7 are in 3d4h index 15h.
  156.       6  Vertical Display End bit 10. Bits 0-7 are in 3d4h index 12h.
  157.       7  Vertical Total bit 10. Bits 0-7 are in 3d4h index 06h.
  158.  
  159. 3d4h index 41h (R/W):  Extended Vertical CRTC Timings
  160. bit   3  CRTC Offset bit 8. Bits 0-7 are in 3d4h index 13h.
  161.       4  Horizontal Retrace Start bit 8. Bits 0-7 are in 3d4h index 04h
  162.       5  Horizontal Blank Start bit 8. Bits 0-7 are in 3d4h index 02h
  163.       6  Horizontal Display End bit 8. Bits 0-7 are in 3d4h index 01h
  164.       7  Horizontal Total bit 8. Bits 0-7 are in 3d4h index 00h.
  165.  
  166. 3d4h index 42h (R/W):  Interlace Retrace
  167. bit 0-7  In interlaced modes should be ~half of Horizontal Total.
  168.  
  169. 3d4h index 43h (R/W):
  170. bit 0-1  Same as index 40h bit 0-1 ??
  171.       2
  172.       3  If set display wraps at 256K
  173.     4-7  ??
  174.  
  175. 3d4h index 44h (R/W):  VGA Enhancement Register
  176. bit   0  Disables RAMDAC access
  177.       1  ??
  178.       2  If set the display is interlaced
  179.     3-7  ??
  180.  
  181. 3d4h index 45h (R/W):
  182. bit 0-3  ??
  183.  
  184. 3d4h index 46h (R/W):  Pixel Clock Control
  185. bit   2  (2000) If set 16 bits are sent to the DAC per pixel clock
  186.     3-5  ??
  187.       6  Inverts the pixel clock if set.
  188.       7  ??
  189.  
  190. 3d4h index 50h (R):
  191. bit 3-7  Chip ID. 11h for the 1000VL, 12h for the 1000PV, 13h for the 2000PV
  192.  
  193.  
  194.  
  195.   The ARK can memory map the accelerator registers at A8000h:
  196.  
  197. M+00h W():
  198.  
  199. M+02h W():
  200. bit  0-?  Drawing Style. 0: Solid, 1: Dashed, 2: Dotted, 3: DotDash,
  201.            4: DashDotDot
  202.  
  203. M+08h W():
  204. bit  0-?  Fill Color ??
  205.  
  206. M+0Ah W():
  207.  
  208. M+18h W():
  209. bit 8-11  ROP. 0: Black (0), 1: Dest AND Src, 2: Src AND (NOT Dest), 3: Src,
  210.            4: Dest AND (NOT Src), 5: Dest, 6: Dest XOR Src, 7: Src OR Dest,
  211.            8: NOT (Src OR Dest), 9: NOT (Dest XOR Src), 10: NOT Dest, 11: Src
  212.           OR (NOT Dest), 12: NOT Src, 13: Dest AND (NOT Src), 14: NOT (Dest
  213.           XOR Src), 15: White (1)
  214.  
  215. M+1Ah W()
  216. bit 0-15  Set to FFFFh ?? Write mask ??
  217.  
  218. M+50h W():  Bresenham Error Term.
  219. bit  0-?   2*min(deltaX,deltaY)-max(deltaX,deltaY)
  220.  
  221. M+54h W():  Bresenham Constant 1
  222. bit  0-?   2*min(deltaX,deltaY)
  223.  
  224. M+56h W():  Bresenham Constant 2
  225. bit  0-?   2*min(deltaX,deltaY)-2*max(deltaX,deltaY)
  226.  
  227. M+58h W():
  228. bit 0-15  Cliping Rect - Left Border. Lowest X coordinate drawn
  229.  
  230. M+5Ah W():
  231. bit 0-15  Cliping Rect - Top Border. Lowest Y coordinate drawn
  232.  
  233. M+5Ch W():
  234. bit 0-15  Cliping Rect - Right Border. Highest X coordinate drawn
  235.  
  236. M+5Eh W():
  237. bit 0-15  Cliping Rect - Bottom Border. Highest Y coordinate drawn
  238.  
  239. M+60h W():
  240.  
  241. M+62h W():
  242.  
  243. M+68h W():
  244.  
  245. M+6Ch W():
  246. bit  0-2  X index into 8x8 pattern ?
  247.      3-5  Y index into 8x8 pattern ?
  248.      6-   ??
  249.     9-10  Both set ??
  250.       or ?
  251. bit 0-15  Starting Source X coordinate
  252.  
  253. M+6Eh W():
  254. bit 0-15  Starting Source Y coordinate
  255.  
  256. M+70h W():
  257. bit 0-15  Starting X coordinate
  258.  
  259. M+72h W():
  260. bit 0-15  Starting Y coordinate
  261.  
  262. M+74h W():
  263. bit  0-?  For line draw: Number of pixels drawn, for BitBlts the area width in
  264.           pixels (-1 ?)
  265.  
  266. M+76h W():
  267. bit  0-?  For BitBlts the number of lines in the blt area (-1 ?)
  268.  
  269. M+7Ch D():
  270. bit   16  Linedraw: Set if abs(deltaY) < deltaX
  271.       17  Linedraw: Set if EndY < StartY
  272.       18  Linedraw: Set if EndX < StartX
  273.       21  Set for Line draw
  274.       24  Set for ?? source
  275.       28  Set for linedraw
  276.       29  Set for BitBlt
  277. bit 4 or 26 set if source is a Pattern ??
  278. bit 8,9,12 or 23 set if source data is from CPU ??
  279.  
  280.   Modes:
  281.  
  282.   24h  T   132   25   16  ()
  283.   26h  T   132   43   16  ()
  284.   27h  T   132   50   16  ()
  285.   31h  G   800  600   16  PL4
  286.   32h  G  1024  768   16  PL4
  287.   33h  G  1280 1024   16  PL4
  288.   40h  G   640  480  256  P8
  289.   41h  G   800  600  256  P8
  290.   42h  G  1024  768  256  P8
  291.   43h  G  1280 1024  256  P8
  292.   44h  G  1600 1280  256  P8
  293.   4Fh  G   640  400  256  P8
  294.   50h  G   640  480  32K  P15
  295.   51h  G   800  600  32K  P15
  296.   52h  G  1024  768  32K  P15
  297.   54h  G   640  480  64K  P16
  298.   55h  G   800  600  64K  P16
  299.   56h  G  1024  768  64K  P16
  300.   58h  G   640  480  16M  P24
  301.   59h  G   800  600  16M  P24
  302.